import request from '@/utils/request'

export async function disposablePageQuery(disposable, paginator) {
  return await request({
    url: '/damcAdmin/disposable/query',
    method: 'post',
    data: {
      'data': disposable,
      'paginator': paginator
    }
  })
}

export async function disposableSave(disposable) {
  return await request({
    url: '/damcAdmin/disposable/save',
    method: 'post',
    data: disposable
  })
}

export async function disposableDelete(disposable) {
  return await request({
    url: '/damcAdmin/disposable/deleteById',
    method: 'post',
    data: disposable
  })
}
